package edu.hwadee.entity;

import java.util.Date;

/**
 * Companypaperrecord entity. @author MyEclipse Persistence Tools
 */

public class Companypaperrecord implements java.io.Serializable {

	// Fields

	private Integer recordId;
	private Staff staff;
	private Companypaper companypaper;
	private Date paperDate;
	private Float cost;

	// Constructors

	/** default constructor */
	public Companypaperrecord() {
	}

	/** full constructor */
	public Companypaperrecord(Staff staff, Companypaper companypaper, Date paperDate, Float cost) {
		this.staff = staff;
		this.companypaper = companypaper;
		this.paperDate = paperDate;
		this.cost = cost;
	}

	// Property accessors

	public Integer getRecordId() {
		return this.recordId;
	}

	public void setRecordId(Integer recordId) {
		this.recordId = recordId;
	}

	public Staff getStaff() {
		return this.staff;
	}

	public void setStaff(Staff staff) {
		this.staff = staff;
	}

	public Companypaper getCompanypaper() {
		return this.companypaper;
	}

	public void setCompanypaper(Companypaper companypaper) {
		this.companypaper = companypaper;
	}

	public Date getPaperDate() {
		return this.paperDate;
	}

	public void setPaperDate(Date paperDate) {
		this.paperDate = paperDate;
	}

	public Float getCost() {
		return this.cost;
	}

	public void setCost(Float cost) {
		this.cost = cost;
	}

}